<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>role</title>
    <%@include file="/static/common/commonHead.jsp" %>
    <script type="text/javascript" src="/static/js/role/role.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">增加</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="btn_delete">删除角色</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadList">刷新</a>
</div>

<%--表格--%>
<table id="entity_list"></table>

<%--编辑页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr>
                <td>角色编码：</td>
                <td>
                    <input class="easyui-textbox" name="sn"
                           data-options="required:true,width:150,labelWidth:50">
                </td>
                <td>&nbsp;角色名称：</td>
                <td>
                    <input class="easyui-textbox" name="name"
                           data-options="required:true,width:150,labelWidth:50">
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <hr>
                </td>
            </tr>
            <tr>
                <td colspan="2">所有权限：</td>
                <td colspan="2">&nbsp;已有权限：</td>
            </tr>
            <tr>
                <td colspan="2">
                    <div style=" width: 200px;height: 250px">
                        <a id="allPermission"></a>
                    </div>
                </td>
                <td colspan="2">
                    <div style=" width: 200px;height: 250px">
                        <a id="hasPersmission"></a>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
